<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户中心</title>
    <link rel="stylesheet" type="text/css" href="../../static/news/css/reset.css">
    <link rel="stylesheet" type="text/css" href="../../static/news/css/jquery.pagination.css">
    <link rel="stylesheet" type="text/css" href="../../static/news/css/main.css">
    <script type="text/javascript" src="../../static/news/js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="../../static/news/js/jquery.pagination.min.js"></script>
</head>
<body class="inframe_body">
<div class="news_list">
    <h3>新闻列表</h3>
    {% for news in newslist %}
        <ul class="article_list">
            {% if news.status == 0 %}
                <li><a href="#">{{ news.title }}</a><em class="pass">未审核</em><span>{{ news.created }}</span></li>
            {% elif news.status == 1 %}
                <li><a href="#">{{ news.title }}</a><em class="review">审核中</em><span>{{ news.created }}</span></li>
            {% elif news.status == 2 %}
                <li><a href="#">{{ news.title }}</a><em class="review">已通过</em><span>{{ news.created }}</span></li>
            {% else %}
                <li>
                    <a href="#">{{ news.title }}</a>
                    <em class="nopass">未通过</em>
                    <span>{{ news.created }}</span>
                    <b>未通过原因：reason</b>
                </li>
            {% endif %}
        </ul>
    {% endfor %}
    <div id="pagination" class="page"></div>

</div>
</body>
</html>